<%@ page import="main.demo.form.LoginForm" %><%--
  Created by IntelliJ IDEA.
  User: sun
  Date: 2017/3/29
  Time: 下午6:15
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    LoginForm form = (LoginForm) request.getAttribute("form");
%>
<html>
<head>
    <title>Title</title>

    <h1> 恭喜您，登录成功</h1>

    <h2>您的登录信息如下：</h2>

    姓名：<%=form.getName()%>
    密码：<%=form.getPassword()%>

</head>
<body>

</body>
</html>
